package collections;
import java.util.*;


public class ArrayListTest {
	public static void main(String[] args) {
		
		/*List<String> test = new ArrayList<String>();
		String s = "hi";
		test.add("string");
		test.add(s);
		test.add(s+s);
		System.out.println(test.size());
		System.out.println(test.contains(42));
		System.out.println("hihi");
		test.remove("hi");
		System.out.println(test.size());*/
		
		ArrayList<String> stuff = new ArrayList<String>();
		stuff.add("Denver");
		stuff.add("Boulder");
		stuff.add("Vail");
		stuff.add("Aspen");
		stuff.add("Telluride");
		System.out.println("unsorted: " + stuff);
		Collections.sort(stuff);
		System.out.println("sorted:" + stuff);
	}
}
